import 'package:healthy_station_flutter/generated/json/base/json_field.dart';
import 'package:healthy_station_flutter/generated/json/drugs_entity.g.dart';
import 'dart:convert';
export 'package:healthy_station_flutter/generated/json/drugs_entity.g.dart';

@JsonSerializable()
class DrugsEntity {
	String? prescriptionId = '';
	String? doctor = '';
	String? patientId = '';
	String? patientName = '';
	String? diagnosticName = '';
	String? subDiagnosticName = '';
	String? medicationOrder = '';
	String? expires = '';
	String? createTime = '';
	String? totalAmount = '';
	String? strTotalAmount = '';
	String? consultId = '';

	DrugsEntity();

	factory DrugsEntity.fromJson(Map<String, dynamic> json) => $DrugsEntityFromJson(json);

	Map<String, dynamic> toJson() => $DrugsEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}